import request from '@/utils/request'

// 查询所有车辆信息
export function listCars() {
    return request({
      url: '/parkingcar/whitelist/car',
      method: 'get',
     
    })
  }

  //新增车辆
  export function addCar(data) {
    return request({
      url: '/parkingcar/Car/addCar',
      method: 'post',
      data: data
    })
  }

  //检验是否重复添加
  export function allCar(query) {
    return request({
      url: '/parkingcar/Car/allCar',
      method: 'get',
      params:query
     
    })
  }


